package com.fengmi.api.search;

import com.fengmi.entity.goods.MallGoods;
import com.fengmi.entity.vo.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("fengmi-search")
@RequestMapping("search")
public interface SearchApi {
    @RequestMapping("goodsToBu")
    public ResultVO goodsToBu(@RequestBody MallGoods goods);
}
